package com.lyf.design.learn.designmodel.strategy.sortsample.demo2;

/**
 * @AUTHOR LYF
 * @DATE 2022/6/2
 * @VERSION 1.0
 * @DESC
 */
public class CatWeightCmpStrategy implements ComparableStrategy<Cat>{
    @Override
    public int compareTo(Cat cat) {
       // cat.weight;根据weight进行比较

        return 0;
    }
}
